/**
 * 
 */
package nlp.textToNumber;

import java.util.HashMap;
import java.util.Map;

/**
 * @author pratibind
 *
 */
public class MappingTable {

	private  Map<String, Integer> Datatable = new HashMap<String, Integer>();
	
	public MappingTable() {
		Datatable.put("zero", 0);
		Datatable.put("one", 1);
		Datatable.put("two", 2);
		Datatable.put("three", 3);
		Datatable.put("four", 4);
		Datatable.put("five", 5);
		Datatable.put("six", 6);
		Datatable.put("seven", 7);
		Datatable.put("eight", 8);
		Datatable.put("nine",9);
		Datatable.put("ten",10);
		Datatable.put("eleven",11);
		Datatable.put("twelve",12);
		Datatable.put("thirteen",13);
		Datatable.put("fourteen",14);
		Datatable.put("fifteen",15);
		Datatable.put("sixteen",16);
		Datatable.put("seventeen",17);
		Datatable.put("eighteen",18);
		Datatable.put("nineteen",19);
		Datatable.put("twenty",20);
		Datatable.put("thirty",30);
		Datatable.put("forty",40);
		Datatable.put("fifty",50);
		Datatable.put("sixty",60);
		Datatable.put("seventy",70);
		Datatable.put("eighty",80);
		Datatable.put("ninty",90);
		Datatable.put("hundred",100);
		Datatable.put("thousand",1000);
		Datatable.put("lakhs",100000);
		Datatable.put("million", 1000000);
		Datatable.put("crore",10000000);
	}

	/**
	 * @return the datatable
	 */
	public Map<String, Integer> getDatatable() {
		return Datatable;
	}

	/**
	 * @param datatable the datatable to set
	 */
	public void setDatatable(Map<String, Integer> datatable) {
		Datatable = datatable;
	}
	
	
}
